// 封装搜索模块接口
import request from '@/utils/request.js'
/**
 * 搜索结果
 * @param {Object} params  {keywords,limit,offset}
 * @returns promise
 */
export function getSearchList (params) {
  return request({
    url: '/cloudsearch',
    params
  })
}
/**
 * 热门搜索
 * @returns promise
 */
export function getHotList () {
  return request({
    url: '/search/hot'

  })
}
